{include file="header.tpl"}
<link href="{$smarty.const.CSS}css.css" type="text/css" rel="stylesheet" />

</head>
<BODY bgcolor="#ffffff">
<form action="index.php" method="post">

    <table width="100%" style="table-layout:fixed;">
        <tr>
            <td style="width:70px;">用户名：</td>
            <td style="width:205px;"><input type="text" value="" name="username" class="inputxt" /></td>
            <td><div class="Validform_checktip"></div></td>
        </tr>
		<tr>
            <td>密码：</td>
            <td><input type="password" value="" name="password" class="inputxt"  /></td>
            <td><div class="Validform_checktip"></div></td>
        </tr>
        <tr>
            <td colspan="2" style="padding:10px 0 18px 0;">
                <input type="submit" value="提 交" /> <input type="reset" value="重 置" />
            </td>
        </tr>
    </table>
</form>
<div class="error">{$error}</div>
<script type="text/javascript" src="{$smarty.const.JS}jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="{$smarty.const.JS}Validform.js"></script>
{literal}
<script type="text/javascript">
$(function(){ 
	//$(".registerform").Validform();  //就这一行代码！下面是演示两种不同的验证效果;
	
	//提示效果一;
	$(".registerform").Validform({ 
		tiptype:2,
		//ajaxurl:"username_check.php",
		
	});
		
	//调取公用方法显示信息提示框，可用于全站统一的弹出框提示效果;
	//$.Showmsg("Test Info here!");  //公用方法显示信息提示框;
	
})
</script>
{/literal}

{include file="footer.tpl"}
